// Rectangle.h: interface for the CRectangle class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_RECTANGLE_H__51E17144_6F43_4A09_9848_1251003A683E__INCLUDED_)
#define AFX_RECTANGLE_H__51E17144_6F43_4A09_9848_1251003A683E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Shape.h"

class CRectangle : public CShape  
{
public:
	void ReSetCircum( );
	void ReSetArea( );
	void SetTheShapeGravity(CPoint,CPoint);
	CRectangle();
	CRectangle(CPoint,CPoint);
	virtual ~CRectangle();
	void Zoom(BOOL zoom,UINT x);
	void SetTheShapeInfor(COLORREF clr = RGB(255,255,255),
		UINT width = 1,BOOL IsSolid = FALSE);
	void MoveReset(const CPoint &p);
	void ResetTheShape(const CPoint &p1,const CPoint &p2);
};

#endif // !defined(AFX_RECTANGLE_H__51E17144_6F43_4A09_9848_1251003A683E__INCLUDED_)
